﻿using System;
using Microsoft.Windows.Data.DomainServices;
using ASPItalia.ModelVirtualCasting.Web.RiaServices;
using System.ServiceModel.DomainServices.Client;
namespace ASPItalia.ModelVirtualCasting.Silverlight.Data
{
    interface IDataManager
    {
        ASPItalia.ModelVirtualCasting.Web.RiaServices.ModelVirtualCastingDomainContext DomainContext { get; }
        void LoadMultimediaOfPeople(Action<LoadOperation<Multimedia>> callback, int peopleId);
        void LoadPeople(QueryBuilder<People> query, Action<ServiceLoadResult<People>> callback, object state);
        void UpdatePeople();
    }
}
